home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Macintosh Programmer’s Workshop / MPW 3.2 / MPW / Startup < prev    next >
Text File  |  1991-04-17  |  5KB  |  154 lines

  1. #    Startup - MPW Shell Startup File
  2. #
  3. #    Copyright Apple Computer, Inc. 1985-1990
  4. #    All Rights Reserved.
  5.  
  6.  
  7. #    {Boot} - The boot disk.  (Predefined.)
  8.             Export Boot
  9.  
  10. #    {SystemFolder} - The directory that contains System & Finder.  (Predefined.)
  11.             Export SystemFolder
  12.  
  13. #    {ShellDirectory} - The directory that contains MPW Shell.  (Predefined.)
  14.             Export ShellDirectory
  15.  
  16. #    {Active} - The active (topmost) window.  (Predefined.)
  17.             Export Active
  18.  
  19. #    {Target} - The target (previously active) window.  (Predefined.)
  20.             Export Target
  21.  
  22. #    {Worksheet} - The name of the Worksheet window.  (Predefined.)
  23.             Export Worksheet
  24.  
  25. #    {Status} - The result of the last command executed.  (Predefined.)
  26.             Export Status
  27.  
  28. #    {User} - Automatically defined to the name the appears in the Chooser.
  29.             Export User
  30.  
  31. #    {MPW} - The volume or folder containing the Macintosh Programmer's Workshop.
  32. #            If you put the MPW Shell out on the desktop, redefine this variable
  33. #            to be {Boot}MPW:
  34.             Set MPW "{ShellDirectory}"
  35.             Export MPW
  36.             
  37. #    {Commands} - Directories to search for commands.
  38.             Set Commands ":,{MPW}Tools:,{MPW}Scripts:"
  39.             Export Commands
  40.  
  41. #    {AIncludes} - Directories to search for assembly language include files.            
  42.             Set AIncludes "{MPW}Interfaces:AIncludes:"
  43.             Export AIncludes
  44.             
  45. #    {Libraries} - Directory that contains shared libraries.         
  46.             Set Libraries "{MPW}Libraries:Libraries:"
  47.             Export Libraries
  48.             
  49. #    {CIncludes} - Directories to search for C include files.
  50.             Set CIncludes "{MPW}Interfaces:CIncludes:"
  51.             Export CIncludes
  52.  
  53. #    {CLibraries} - Directory that contains C libraries.         
  54.             Set CLibraries "{MPW}Libraries:CLibraries:"
  55.             Export CLibraries
  56.             
  57. #    {PInterfaces} - Directories to search for Pascal interface files.
  58.             Set PInterfaces "{MPW}Interfaces:PInterfaces:"
  59.             Export PInterfaces
  60.  
  61. #    {PLibraries} - Directory that contains Pascal libraries.        
  62.             Set PLibraries "{MPW}Libraries:PLibraries:"
  63.             Export PLibraries
  64.             
  65. #    {RIncludes} - Directory that contains Rez include files.
  66.             Set RIncludes "{MPW}Interfaces:RIncludes:"
  67.             Export RIncludes
  68.  
  69. #    {CaseSensitive} - If non-zero, pattern matching is case sensitive.
  70.             Set CaseSensitive 0
  71.             Export CaseSensitive
  72.  
  73. #    {SearchBackward} - If non-zero, search will go backwards.
  74.             Set SearchBackward 0
  75.             Export SearchBackward
  76.  
  77. #    {SearchWrap} - If non-zero, search will wrap.
  78.             Set SearchWrap 0
  79.             Export SearchWrap
  80.  
  81. #    {SearchType} - Specifies the default searching type.  (0/literal,
  82. #        1/word, 2/regular expression)
  83.             Set SearchType 0
  84.             Export SearchType
  85.  
  86. #    {Tab} - Default tab setting for new windows.
  87.             Set Tab 4
  88.             Export Tab
  89.  
  90. #    {Font} - Default Font for new windows.
  91.             Set Font Monaco
  92.             Export Font
  93.  
  94. #    {FontSize} - Default font size for new windows.
  95.             Set FontSize 9
  96.             Export FontSize
  97.  
  98. #    {AutoIndent} - If non-zero, auto indentation will be the default for
  99. #        new windows.
  100.             Set AutoIndent 1
  101.             Export AutoIndent
  102.  
  103. #    {WordSet} - Character set that defines words for searches and double-clicks.
  104.             Set WordSet 'a-zA-Z_0-9'
  105.             Export WordSet
  106.  
  107. #    {PrintOptions} - Options used by the Print Window and Print Selection menus.
  108.             Set PrintOptions '-h'
  109.             
  110. #    {Exit} - If non-zero, command files terminate after the first error.
  111.             Set Exit 1
  112.             Export Exit
  113.  
  114. #    {Echo} - If non-zero, commands are echoed before execution.
  115.             Set Echo 0
  116.             Export Echo
  117.  
  118. #    {Test} - If non-zero, tools and applications are not executed.
  119.             Set Test 0
  120.             Export Test
  121.  
  122. #    {MarkAlphabetical} - If non-zero, marks will be listed alphabetically in the menu
  123. #        by default.
  124.             Set MarkAlphabetical 0
  125.             Export MarkAlphabetical
  126.  
  127. #    Commando Support
  128.              Export Windows
  129.              Export Aliases
  130.              Set Commando Commando
  131.             Export Commando
  132.  
  133. #    Aliases
  134.             Alias File Target
  135.  
  136.  
  137. #    The file UserStartup can be used to override definitions made in Startup,
  138. #    or to define additional variables, exports, and aliases.  UserStartup may
  139. #    also be used to define menu items, open windows, etc.  The file should be
  140. #    located in the directory containing the MPW Shell.
  141.  
  142.             Execute "{ShellDirectory}UserStartup"
  143.  
  144. #    Since UserStartup is distributed with MPW, you may want to have other
  145. #    startup files that will not be overwritten with a new release.
  146. #    Other personalized startup files may be named UserStartup•≈ - such as 
  147. #    "UserStartup•John" or "UserStartup•Tom"  (• is option-8).
  148. #    These files should be located in the directory containing the MPW Shell.
  149.  
  150.             For __Startup__i in `(Files "{ShellDirectory}"UserStartup•≈ || Set Status 0) ≥ dev:null`
  151.                 Execute "{__Startup__i}"
  152.             End
  153.             Unset __Startup__i
  154.